package com.fintech.third.service;

import java.util.Date;

import com.fintech.third.model.EdcDataQueryLog;
import com.fintech.third.model.ThirdEffectDTO;
import com.fintech.third.model.interfacedata.EdcDataCallOperationRecordsDto;
import com.fintech.third.model.interfacedata.EdcProductInterfaceEffecttimeConfigDto;

public interface BaseServiceUtil {
	void saveLog(String serialNum, String code, String msg, String reqBody, String respBody, String channel,
			String method, Date sTime, Date eTime, String swiftNumber, String custIdNumber);
	
	void saveErrorLog(String serialNum, String code, String msg, String reqBody, String respBody, String channel,
			String method, Date sTime, Date eTime);
	
	void saveCallCountLog(String loanId, String interfaceCode, String result, String thirdProductCode,
			String interfaceDescription);
	
	void saveEdcDataCallOperationRecords(EdcDataCallOperationRecordsDto edcDataCallOperationRecordsDto);
	
	void saveEdcDataCallOperationRecords(ThirdEffectDTO effectDto);
	
	EdcDataCallOperationRecordsDto selectEdcDataCallOperationRecordSig(ThirdEffectDTO effectDto);
	
	EdcProductInterfaceEffecttimeConfigDto selectEdcProInterfaceTimeConfigSig(ThirdEffectDTO effectDto);
	
	int getLgdbEffectTime();
	
	void saveDataQueryLogNew(String reqNo, String loanId, String mobile, Date requestDate, String interfaceCode,
			String responseCode, String status, String tableName, String custIdCard);
	
	void saveDataQueryLogNew(String reqNo, String loanId, String mobile, String swiftNumber, Date requestDate,
			String interfaceCode, String responseCode, String status, String tableName, String custIdCard);
	
	void saveDataQueryLog(String reqNo, String loanId, String mobile, String swiftNumber, Date requestDate,
			Date responseDate, String interfaceCode, String responseCode, String status, String tableName,
			String createdBy);
	
	void updateDataQueryLog(String reqNo, String loanId, String mobile, String swiftNumber, Date requestDate,
			Date responseDate, String interfaceCode, String responseCode, String status, String tableName,
			String createdBy, Integer id);
	
	EdcDataQueryLog QueryDataQueryLog(String reqNo, String tableName);
	
	ThirdEffectDTO checkEffectInfo(String loanId, String interfaceCode);
	
	ThirdEffectDTO checkEffectInfo(ThirdEffectDTO effectDto);
}	

